package cn.fintecher.gis.utils;

import java.io.File;
import java.io.FilenameFilter;

/**
 * Created by ChenChang on 2018/12/7.
 */
public class ShpFileFilter implements FilenameFilter {

    public boolean containUDDI(String file) {
        return file.contains(".shp");
    }

    public boolean accept(File dir, String name) {
        return containUDDI(name);

    }
}